package com.jswdwsx.esign.protocol.request

data class AddComponentsReq(
    val structComponent: List<Component>
)

data class Component(
    val id: String,
    val key: String,
    val type: String,
    val context: Context
)

data class Context(
    val label: String,
    val required: String,
    val limit: String,
    val style: Style,
    val pos: Pos
)

data class Style(
    val width: Float,
    val height: Float,
    val font: Int,
    val fontSize: Float,
    val textColor: String
)

data class Pos(
    val page: Int,
    val x: Float,
    val y: Float
)